package com.wg.api.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.wg.api.domain.PollutionbeanDO;
import com.wg.api.domain.PollutionsDO;
import com.wg.common.utils.Query;

/**
 * 
 * @author Plum
 * @email blackplum@vip.qq.com
 * @date 2019-05-10 16:04:27
 */
@Mapper
public interface DataShowDao {

	PollutionsDO get(Integer id);
	
	List<PollutionsDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(PollutionsDO pollutions);
	
	int update(PollutionsDO pollutions);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<PollutionbeanDO> historyData(Query query);
}
